package com.example.dwb_homework3;

import android.view.View;
import android.widget.TextView;

public class Exterior implements View.OnClickListener{

    TextView activity_text_view;

    public Exterior(TextView activity_text_view) {
        this.activity_text_view = activity_text_view;
    }

    @Override
    public void onClick(View view) {
        activity_text_view.setText("外部类作为监听器");
    }
}
